setMuted

fun setMuted(muted: Boolean)

Mutes or unmutes audio of ads rendered by the SDK. The volume set by setVolume is kept while muted and is restored on unmute.

Parameters

muted

If set to true, ad audio is muted, otherwise it is played with the volume set by setVolume. Default value is false.